import request from '@/utils/request'
/**查询租户信息 */
export function selectzh(params) {
  return request({
    url: '/users/selectzh',
    method: 'post',
    data: params
  })
}
/**补充开票信息 */
export function addInvoice(params) {
  return request({
    url: '/users/addInvoice',
    method: 'post',
    data: params
  })
}
/**操作联系人状态 */
export function deleteContact(params) {
  return request({
    url: '/users/deleteContact',
    method: 'post',
    data: params
  })
}
/**查询租户 */
export function selectEnterpriseList(params) {
  return request({
    url: '/users/selectEnterpriseList',
    method: 'get',
    params
  })
}
/**智联器详情 */
export function selectzlx(params) {
  return request({
    url: '/ammeter/selectzlx',
    method: 'get',
    params
  })
}
/**智联器关联信息 */
export function selectzldb(params) {
  return request({
    url: '/ammeter/selectzldb',
    method: 'get',
    params
  })
}
/**电表详情以及基本信息 */
export function selectAmmeterxb(params) {
  return request({
    url: '/ammeter/selectAmmeterx',
    method: 'get',
    params
  })
}
/**载体用电量列表 */
export function selectCarrierElectricity(params) {
  return request({
    url: '/ammeter/selectAllPower',
    method: 'get',
    params
  })
}

/**查询项目用电量 */
export function selectProjectPower(params) {
  return request({
    url: '/ammeter/selectProjectPower',
    method: 'get',
    params
  })
}

/**查询租户用电量 */
export function selectTenantPower(params) {
  return request({
    url: '/ammeter/selectTenantPower',
    method: 'get',
    params
  })
}